package com.p2p.controller.operationsManagement;

import com.p2p.common.R;
import com.p2p.entity.MessagePush;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
@RequestMapping("/messagePush")
public class MessagePushController {

    /**
     * 新增消息推送
     * @param messagePush
     * @return
     */
    @PostMapping("/addMessagePush")
    @ResponseBody
    public R addMessagePush(@RequestBody MessagePush messagePush){
        return null;
    }

    /**
     * 分页显示消息推送
     * @param currentPage
     * @param pageSize
     * @return
     */
    @GetMapping("/messagePushList")
    @ResponseBody
    public R messagePushList(Integer currentPage,Integer pageSize){
        return null;
    }
}
